// 密码加密规则
const FULL_CHARTER = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopgrstuvwxyz0123456789+/";
export function getState(numSize:number) {
  let state = "";
  for (let i = 0; i < numSize; i++) {
    state += FULL_CHARTER[Math.floor(Math.random() * 64)];
  }
  return state;
}